package fr.u.psud.polytech.view.ressources;

public enum ActionType {
	//Liste des actions possibles 
	NOACTIONRIGHT	(-1, "az"),
	ADMINISTRATION  (1, "Administration.jsp"),
	STOCK			(2, "Stock.jsp");
	
	private int id;
	private String url;
	
	ActionType(int id, String url)
	{
		this.id = id;
		this.url = url;
	}
	
	//Renvoie l'identifiant de l'action
	public int getId()
	{
		return this.id;
	}
	
	public String getUrl()
	{
		return this.url;
	}
}
